import { addressService } from '../services/address.service';
import { AddressCreateDto, AddressListDto, AddressSingleDto, AddressUpdateDto } from '../dtos/address.dto';
import { BaseController } from './.controller';
import AddressModel from '../models/address.model';

class AddressController extends BaseController<AddressModel, AddressListDto, AddressSingleDto, AddressCreateDto, AddressUpdateDto> {
  constructor() {
    super(addressService);
  }
}

export const addressController = new AddressController();
